package com.ctshk.rpc.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 主数据字段对象
 * </p>
 *
 * @author Lenovo
 */

@Data
@ApiModel(value="MainDataFieldDTO对象", description="主数据字段对象")
public class MainDataFieldDTO implements Serializable {


    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "所属表")
    private Long tableId;

    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    @ApiModelProperty(value = "默认值")
    private String defaultValue;

    @ApiModelProperty(value = "是否系统强制参数")
    private Integer isFixed;

    @ApiModelProperty(value = "字段正则")
    private String fieldRegex;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;




}
